package com.ghck.server.model;

import java.util.Date;
/**
 * 账号接口认证表  <br>
 * ajk_account <br>
 * v1.0 2016-05-01
 */
 public class AjkAccount extends BaseModel{
	
	private static final long serialVersionUID = 1L;
	
 	
 	//id
	private Integer id;

 	//用户ID t_users 表ID
 	//user_id
	private Integer userId;

 	//医生,患者,护士,管理员,营养师
 	//role
	private Integer role;

 	//accessId
 	//access_id
	private String accessId;

 	//accessKey
 	//access_key
	private String accessKey;

 	//是否禁用,0：未使用,1：正在使用
 	//is_block
	private Integer isBlock;

 	
 	//last_modify_time
	private Date lastModifyTime;

 	//登录过期时间
 	//account_expired_time
	private Date accountExpiredTime;

 	
 	//create_time
	private Date createTime;

	
	/**
	*
 	*id
 	*/
	public Integer getId() {
		return id;
	}
	
	/**
	*
 	*id
 	*/
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	*用户ID t_users 表ID
 	*user_id
 	*/
	public Integer getUserId() {
		return userId;
	}
	
	/**
	*用户ID t_users 表ID
 	*user_id
 	*/
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	/**
	*医生,患者,护士,管理员,营养师
 	*role
 	*/
	public Integer getRole() {
		return role;
	}
	
	/**
	*医生,患者,护士,管理员,营养师
 	*role
 	*/
	public void setRole(Integer role) {
		this.role = role;
	}
	
	/**
	*accessId
 	*access_id
 	*/
	public String getAccessId() {
		return accessId;
	}
	
	/**
	*accessId
 	*access_id
 	*/
	public void setAccessId(String accessId) {
		this.accessId = accessId;
	}
	
	/**
	*accessKey
 	*access_key
 	*/
	public String getAccessKey() {
		return accessKey;
	}
	
	/**
	*accessKey
 	*access_key
 	*/
	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}
	
	/**
	*是否禁用,0：未使用,1：正在使用
 	*is_block
 	*/
	public Integer getIsBlock() {
		return isBlock;
	}
	
	/**
	*是否禁用,0：未使用,1：正在使用
 	*is_block
 	*/
	public void setIsBlock(Integer isBlock) {
		this.isBlock = isBlock;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	/**
	*登录过期时间
 	*account_expired_time
 	*/
	public Date getAccountExpiredTime() {
		return accountExpiredTime;
	}
	
	/**
	*登录过期时间
 	*account_expired_time
 	*/
	public void setAccountExpiredTime(Date accountExpiredTime) {
		this.accountExpiredTime = accountExpiredTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public Date getCreateTime() {
		return createTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	@Override
	public void dealWith(){
		super.dealWith();
		
	}
}	